/**
 * Created by Handsome.Ho on 2015/9/19.
 */
angular.module('schedule', ['ionic', 'schedule.services', 'schedule.controllers', 'ngAnimate','task.controllers', 'task.services', 'cloud.controllers', 'cloud.services', 'main.init', 'schedule.config']).animation('.date-form', function () {
  return {
    addClass: function (element, sClass, done) {
      $(element).animate({height: 200}, 300, done);       //done运动完成指令操作
    },
    removeClass: function (element, sClass, done) {
      $(element).css({height: 0});
      $(element).animate({height: 200}, 300, done);
    }
  };
});
